package cn.com.duiba.millionaire.center.biz.mq;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * Created by zzy on 2017/7/17.
 */
@Configuration
public class RocketMQTopicConstant {

    /**
     * 百万赢家提交答案topic
     */
    @Value("${rocketmq.topic.millionaire.submitanswer}")
    private String submitAnswerTopic;


    /**
     * 百万赢家未提交答案topic
     */
    @Value("${rocketmq.topic.millionaire.unsubmitanswer}")
    private String unsubmitAnswerAnswerTopic;

    /**
     * 百万赢家提交答案topic
     */
    @Value("${rocketmq.topic.millionaire.openprize}")
    private String openPrizeTopic;

    /**
     * 提交答案tag
     */
    @Value("${rocketmq.tag.millionaire.submitanswer}")
    private String submitAnswerTag;

    /**
     * 提交答案tag
     */
    @Value("${rocketmq.tag.millionaire.unsubmitanswer}")
    private String unsubmitAnswerTag;
    /**
     * 开奖tag
     */
    @Value("${rocketmq.tag.millionaire.openprize}")
    private String openPrizeTag;

    @Value("${rocketmq.topic.millionaire.withdraw}")
    private String withdrawTopic;
    @Value("${rocketmq.tag.millionaire.withdraw}")
    private String withdrawTag;
    /**
     * 加载复活卡到缓存topic
     */
    @Value("${rocketmq.topic.millionaire.loadrelivecard}")
    private String loadReliveCardTopic;

    /**
     * 加载复活卡到缓存tag
     */
    @Value("${rocketmq.tag.millionaire.loadrelivecard}")
    private String loadReliveCardTag;

    /**
     * 扣积分
     */
    @Value("${rocketmq.topic.millionaire.creditsconsumetopic}")
    private  String creditsConsumeTopic;
    @Value("${rocketmq.tag.millionaire.creditsconsumetag}")
    private  String creditsConsumeMillTag;

    public String getSubmitAnswerTopic() {
        return submitAnswerTopic;
    }

    public void setSubmitAnswerTopic(String submitAnswerTopic) {
        this.submitAnswerTopic = submitAnswerTopic;
    }

    public String getUnsubmitAnswerAnswerTopic() {
        return unsubmitAnswerAnswerTopic;
    }

    public void setUnsubmitAnswerAnswerTopic(String unsubmitAnswerAnswerTopic) {
        this.unsubmitAnswerAnswerTopic = unsubmitAnswerAnswerTopic;
    }

    public String getOpenPrizeTopic() {
        return openPrizeTopic;
    }

    public void setOpenPrizeTopic(String openPrizeTopic) {
        this.openPrizeTopic = openPrizeTopic;
    }

    public String getSubmitAnswerTag() {
        return submitAnswerTag;
    }

    public void setSubmitAnswerTag(String submitAnswerTag) {
        this.submitAnswerTag = submitAnswerTag;
    }

    public String getUnsubmitAnswerTag() {
        return unsubmitAnswerTag;
    }

    public void setUnsubmitAnswerTag(String unsubmitAnswerTag) {
        this.unsubmitAnswerTag = unsubmitAnswerTag;
    }

    public String getOpenPrizeTag() {
        return openPrizeTag;
    }

    public void setOpenPrizeTag(String openPrizeTag) {
        this.openPrizeTag = openPrizeTag;
    }

    public String getWithdrawTopic() {
        return withdrawTopic;
    }

    public void setWithdrawTopic(String withdrawTopic) {
        this.withdrawTopic = withdrawTopic;
    }

    public String getWithdrawTag() {
        return withdrawTag;
    }

    public void setWithdrawTag(String withdrawTag) {
        this.withdrawTag = withdrawTag;
    }

    public String getLoadReliveCardTopic() {
        return loadReliveCardTopic;
    }

    public void setLoadReliveCardTopic(String loadReliveCardTopic) {
        this.loadReliveCardTopic = loadReliveCardTopic;
    }

    public String getLoadReliveCardTag() {
        return loadReliveCardTag;
    }

    public void setLoadReliveCardTag(String loadReliveCardTag) {
        this.loadReliveCardTag = loadReliveCardTag;
    }

    public String getCreditsConsumeTopic() {
        return creditsConsumeTopic;
    }

    public void setCreditsConsumeTopic(String creditsConsumeTopic) {
        this.creditsConsumeTopic = creditsConsumeTopic;
    }

    public String getCreditsConsumeMillTag() {
        return creditsConsumeMillTag;
    }

    public void setCreditsConsumeMillTag(String creditsConsumeMillTag) {
        this.creditsConsumeMillTag = creditsConsumeMillTag;
    }
}
